var app = angular.module( "ChatApp", )

app.factory('SongModel', [ '$resource' , function($resource){

	var res = $resource('/Song/:id',{ id: '@id'},{
		getAll: {method: 'GET', isArray: true},
		getSingle: {method: 'GET', isArray: false},
		update: {method: 'PUT'},
		create: {method: 'POST'},
		delete: {method: 'DELETE'}
	});

}]);

app.factory('ChatModel', ['$resource','$request',function($res, $req){

	var res
}]);